package asteroids.model.programs.parsing.expressions;

import java.util.Map;

import asteroids.model.CollisionObject;

public class BooleanLiteral extends BasicExpression {
	private boolean booleanState;
	
	public BooleanLiteral(boolean booleanState){
		this.booleanState = booleanState;
	}
	
	

	@Override
	public Object getContent(Map <String,E> map, CollisionObject givenCollisionObject) {
		return booleanState;
	}

	@Override
	public boolean isBoolean() {
		return true;
	}
	public boolean isDouble() {
		return false;
	}
	public boolean isEntity(){
		return false;
	}
	public boolean isString(){
		return false;
	}
}

